﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EmProductCenter
{
    public partial class CodeCheck : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string checkcode = Request["checkcode"];
            IsUserEndAnswer(checkcode);
        }

        public void IsUserEndAnswer(string checkcode)
        {
            string bz = "0";
            if (Session["checkcode"] != null)
            {
                if (Session["checkcode"].ToString() == checkcode)
                {
                    bz = "1";
                }
            }
            Response.Write(bz);
        }
    }
}